/*
 * BattleMasterPlayerGame.cpp
 *
 *  Created on: Nov 11, 2011
 *      Author: gonzalo
 */

#include "BattleMasterPlayerGame.h"
#include "../common/Translator/Translator.h"

BattleMasterPlayerGame::BattleMasterPlayerGame(std::string owner) : BattleMasterGame(owner) {
}

BattleMasterPlayerGame::~BattleMasterPlayerGame() {
}

std::list<ScenarioElement*> BattleMasterPlayerGame::getElements(){
	return Translator::translateScenarioElementDTO(scenarioElements);
}

std::string BattleMasterPlayerGame::getBackgroundPath(){
	return background->getImagePath();
}


void BattleMasterPlayerGame::setScenearioElements(std::list<DTOScenarioElement*> listElements){
	this->scenarioElements = listElements;
}

void BattleMasterPlayerGame::setBackground(DTOBackground* bgr){
	this->background =bgr;
}
